package com.lianxi

/**
  * Created by adengdeng on 2017/8/5 
  */
object Lx3 {

  def main(args: Array[String]): Unit = {

    //以下情况 x = y = 1 合法
    var x: Unit = ()
    var y: Int = 0
    x = y = 1
    println(x)
  }
}
